#ifndef SUMMATOR_H
#define SUMMATOR_H

#include <QObject>

class Summator : public QObject
{
    Q_OBJECT

    friend class SummatorTest;

    int m_a;
    int m_b;

public:
    explicit Summator(QObject *parent = 0);

    void setA(int a);
    void setB(int b);
    int sum() const;

signals:
    void valueChanged();

public slots:

};

#endif // SUMMATOR_H
